<?php
/* This file is part of a copyrighted work; it is distributed with NO WARRANTY.
 * See the file COPYRIGHT.html for more details.
 */
  require_once("../classes/Localize.php");
  $headerLoc = new Localize(OBIB_LOCALE,"shared");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
// code html tag with language attribute if specified.
echo "<html";
if (OBIB_HTML_LANG_ATTR != "") {
  echo " lang=\"".H(OBIB_HTML_LANG_ATTR)."\"";
}
echo ">\n";
echo "<head>\n";
// code character set if specified
if (OBIB_CHARSET != "") { ?>
<meta http-equiv="content-type" content="text/html; charset=<?php echo H(OBIB_CHARSET); ?>" />
<?php } ?>
<meta name="description" content="Panga Library Automation System" />
  
<!-- Panga Stylesheets -->
    <link rel="stylesheet" type="text/css" href="../panga/css/reset.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="../panga/css/text.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="../panga/css/grid.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="../panga/css/layout.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="../panga/css/nav.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="../panga/css/top-menu.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="../panga/css/table-styles.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="../panga/css/styles.css" media="screen" />
        
<!-- Panga jQuery UI Starts -->
    <link type="text/css" href="../panga/css/smoothness/jquery-ui-1.7.1.custom.css" rel="stylesheet" />	
    <script type="text/javascript" src="../panga/js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../panga/js/jquery-ui-1.7.1.custom.min.js"></script>
    <script type="text/javascript" src="../panga/js/jquery.corner.js"> </script>

<!-- Panga Cufon Hacks-->
    <script type="text/javascript" src="../panga/js/cufon-yui.js"> </script>
    <script type="text/javascript" src="../panga/js/Frutiger_LT_Std.font.js"></script>
    
<!-- Panga Pretty Form Hacks -->
    <link rel="stylesheet" href="../panga/css/jqtransform.css" type="text/css" media="all" />
    <link rel="stylesheet" href="../panga/css/form-style.css" type="text/css" media="all" />

    <script type="text/javascript" src="../panga/js/jquery.jqtransform.js"></script>
    <script type="text/javascript" src="../panga/js/jquery.validate.js"></script>
    <script type="text/javascript" src="../panga/js/jquery.form.js"></script>
    <script type="text/javascript" src="../panga/js/websitechange.js"></script>
    
<!-- Panga... Yup...We got a warning for IE ...-->
    
  <!--[if IE]>
  <link rel="stylesheet" type="text/css" media="all" href="../panga/css/iefix.css" />
  <![endif]-->


<title><?php echo H(OBIB_LIBRARY_NAME);?></title>

<script type="text/javascript">
<!--
function popSecondary(url) {
    var SecondaryWin;
    SecondaryWin = window.open(url,"secondary","resizable=yes,scrollbars=yes,width=535,height=400");
    self.name="main";
}
function popSecondaryLarge(url) {
    var SecondaryWin;
    SecondaryWin = window.open(url,"secondary","toolbar=yes,resizable=yes,scrollbars=yes,width=700,height=500");
    self.name="main";
}
function backToMain(URL) {
    var mainWin;
    mainWin = window.open(URL,"main");
    mainWin.focus();
    this.close();
}
-->
</script>


</head>
<body <?php
  if (isset($focus_form_name) && ($focus_form_name != "")) {
    if (ereg('^[a-zA-Z0-9_]+$', $focus_form_name)
        && ereg('^[a-zA-Z0-9_]+$', $focus_form_field)) {
      echo 'onLoad="self.focus();document.'.$focus_form_name.".".$focus_form_field.'.focus()"';
    }
  } ?> >
<div id="container" class="container_12">
<div id="header" class="grid_12">
</div>
<div id="navigation" class="grid_12" >
  <?php include("../navbars/top-nav.php");?>
</div>

<!-- Panga Header Ends -->
<div class="clear"></div>
<div id="main-app" class="grid_12" >
<div class="clear"></div>
